package com.fuyao.cloud.asset.vo;

import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fuyao.cloud.common.core.annotation.ValidationDate;
import com.fuyao.cloud.common.core.annotation.ValidationDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "预算模块导出到excel")
public class BudgetExcelImportVO {

	@NotNull(message = "年度不能为空")
	@ApiModelProperty(value="年度")
	private Integer year;

	@NotBlank(message = "预算序号不能为空")
	@ApiModelProperty(value="预算序号")
	private String number;

	@NotBlank(message = "预算分类不能为空")
	@ApiModelProperty(value="预算分类")
	private String type;

	@NotBlank(message = "开支单位不能为空")
	@ApiModelProperty(value="开支单位")
	private String expenditureFullname;

	@NotBlank(message = "执行单位不能为空")
	@ApiModelProperty(value="执行单位")
	private String executionFullname;

	@NotBlank(message = "责任人不能为空")
	@ApiModelProperty(value="责任人")
	private String liableName;

	@NotNull(message = "预算金额不能为空")
	@ApiModelProperty(value="预算金额")
	private BigDecimal amount;

	@ValidationDate(message = "完成时间格式不正确")
	@ApiModelProperty(value="完成时间")
	private String completionDate;

	@ApiModelProperty(value="是否限制合同执行")
	private String limitThreshold;

	@ApiModelProperty(value="备注")
	private String remarks;

}
